/**
 * 公共接口
 */

import { get, post } from "@/utils/request";

/**
 * 工作量-站点查询接口
 */
export const fetchStatisticsLocation = (params) => {
  return get(`/statistics/location/query/total`, params);
};

/**
 * 工作量-单个站点查询接口
 */
export const fetchStatisticsSingleLocation = (data) => {
  return post("statistics/bd/workload/rank", data);
};

/**
 * 工作量-功能描述
 */
export const getStatisticsSingleLocationInfo = (params) => {
  return get("statistics/bd/workload/total", params);
};
